lst=[1,4,9,16,2,5,10,15]
lst1=[]
for i in range(len(lst)-1):
    sum=lst[i]+lst[i+1]
    lst1.append(sum)
print(lst1)

# 完成的不错
